package com.tao.design.astractfactory;

/**
 * @projectName: Code
 * @package: com.tao.design.astractfactory
 * @className: IAnimalFactory抽象工厂的实现类
 * @author: TT_Hugo
 * @description: TODO
 * @date: 2022/12/26 12:53
 * @version: 1.0
 */
public class BlackAnimalFactory implements IAnimalFactory{
    @Override
    public ICat createCat() {
        return new BlackCat();
    }

    @Override
    public IDog createDog() {
        return new BlackDog();
    }
}
